import request from '@/utils/request'


export default{
    // 核销员管理列表
    getBindAdmin(page,size,shop_id) {
        return request({
            url: `/manage/shop/store/getBindAdmin?page=${page}&size=${size}&shop_id=${shop_id}`,
            method:'get'
        })
    },
    //解绑
    cancelBind(data) {
        return request({
            url: `/manage/shop/store/cancelBind`,
            method: 'post',
            data:data
        })
    },
    //添加管理员
    createCode(data) {
        return request({
            url:'/manage/shop/store/createCode',
            method:'post',
            data:data
        })
    },
}
